//定义用户相关数据的ts类型
//用户登录接口携带参数的ts类型
export interface loginFormData {
  data: {
    username: string;
    password: string;
    code: string;
    uuid: string;
  };
}

export interface customFormData {
  logo: string;
  productName: string;
  cockpitName: string;
  loginName: string;
  loginPicture: string;
}

//定义全部接口返回数据都拥有ts类型
export interface ResponseData {
  code: number;
  message: string;
  requestId?: string | null;
}

//定义登录接口返回数据类型
export interface commonResponseData extends ResponseData {
  data: any;
}

export interface customResponseData extends ResponseData {
  data: customFormData;
}
